execute at @s if entity @e[distance=..1,limit=1,sort=nearest,type=item,nbt={Item:{id:"minecraft:popped_chorus_fruit",Count:1b,tag:{id:"advm:machines_item_deleter"}}}] run function advm:machines/item_deleter
execute at @s if entity @e[distance=..1,limit=1,sort=nearest,type=item,nbt={Item:{id:"minecraft:popped_chorus_fruit",Count:1b,tag:{id:"advm:machines_item_deleter"}}}] run kill @e[distance=..1.5,limit=1,sort=nearest,type=item,nbt={Item:{id:"minecraft:popped_chorus_fruit",Count:1b,tag:{id:"advm:machines_item_deleter"}}}]